﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALMasterPurchaseMethod
    {
        IList<MasterPurchaseMethodInfo> GetMasterPurchaseMethod();
        IList<MasterPurchaseMethodInfo> GetMasterPurchaseMethodByPrSeq(int PurchaseReqSeq);
        IList<MasterPurchaseMethodInfo> GetMasterPurchaseMethod(string record_status);
        MasterPurchaseMethodInfo GetMasterPurchaseMethod(int seq);
        IList<MasterPurchaseMethodInfo> GetNameListMasterPurchaseMethod();
        IList<MasterPurchaseMethodInfo> GetMasterPurchaseMethodWithType(int PurchaseType);
        void Insert(MasterPurchaseMethodInfo info);
        void Update(MasterPurchaseMethodInfo info);
        void Delete(MasterPurchaseMethodInfo info);
        void DeleteAll(IList<MasterPurchaseMethodInfo> infoList);
        void DeleteFromDB(IList<MasterPurchaseMethodInfo> infoList);
        void Restore(IList<MasterPurchaseMethodInfo> infoList);
    }
}
